{% extends "index.html" %}
{% block content %}
<script>
function jsonGetProfile() {
    $.getJSON("/jsonrpc?action=GetProfile",{},function(data) {
        if ( data.error ) {
          $("#pstatus").html( data.error );
        }
        $("#result").val(dump(data));
    });
}
</script>
<input type="button" value="GetProfile" onClick="jsonGetProfile();">
<textarea id="result"></textarea>
<p id="pstatus"></p>
{% endblock	%}
